View Issue Details

IDProjectCategoryView StatusLast Update
0001761T99X171.00 SKB EagleSW Issuepublic2024-04-18 13:10
Reporter(ALTech) Younkwang Jung Assigned To(ALTech) Younkwang Jung Due Date
PriorityhighSeveritys4-minorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001761: [Smart3][UI540] Audio CPU Usage Increase Issue
DescriptionHi Kerwin

The following issue was reported from BMT.
https://jira.skbroadband.com/browse/BPM-20379

[Test method]
the Monkey test was did for 24 hours.

During the test, the CPU usage increased, so SKB's QA checked the processor
The increased processes were audioserver / android.hardware.audio@2.0-service-droidlogic

Please check the attached log.

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

Activities

(ALTech) Younkwang Jung

2023-07-11 12:57

developer  

BPM-20379.zip (37,143,880 bytes)
pastedImage (1).png (123,105 bytes)   
pastedImage (1).png (123,105 bytes)   
pastedImage.png (146,643 bytes)   
pastedImage.png (146,643 bytes)   

(ALTech) Younkwang Jung

2023-07-11 13:02

developer   ~0013602

Hi Kerwin

Please check if this issue is similar to the issue below.
https://mantis.cnsbg.foxconn.com/vaas/view.php?id=1522

When I saw the file in logcat.log0, I suspect the following.
..
2023-07-08 10:06:57.788000 6885 6885 9733 D NuguDelegationSession(2.1.1) "[provideStatus] status :
2023-07-08 10:06:57.789000 5356 5356 5713 I NuguDeviceApp "tryStartListening. client initialized : true
2023-07-08 10:06:57.814000 29259 29259 8998 D audio_hw_primary "adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(20)
2023-07-08 10:06:57.814000 29259 29259 8998 W audio_hw_primary "Invalid case for AUDIO_SOURCE_VOICE_RECOGNITION_NUGU to open AUDIO_DEVICE_IN_BUILTIN_MIC
2023-07-08 10:06:57.815000 29259 29259 8998 D audio_hw_primary "adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(20)
2023-07-08 10:06:57.815000 29259 29259 8998 W audio_hw_primary "Invalid case for AUDIO_SOURCE_VOICE_RECOGNITION_NUGU to open AUDIO_DEVICE_IN_BUILTIN_MIC
2023-07-08 10:06:57.815000 29260 29260 24587 W APM_AudioPolicyManager "getInputForAttr() failed opening input: sampling rate 16000, format 0x1, channel mask 0x10
..

Please check it

Thank you
YK.Jung

(SW) Jason Ling

2023-07-14 15:33

developer   ~0013631

Hi YK,

>>Please check if this issue is similar to the issue below.
>>https://mantis.cnsbg.foxconn.com/vaas/view.php?id=1522
Not similar, I used the same reproduce steps, but the CPU usage is low in Smart3.

After analysis, I think there is an infinite loop in logcat.log1. this will be root cause for high CPU usage.
I see the following logs being printed repeatedly.
2023-07-08 10:38:13.050000 29259 29259 30162 W audio-subMixingFactory "out_get_presentation_position_port(), pts not valid yet"
2023-07-08 10:38:13.050000 29259 29259 30162 I audio-subMixingFactory "WD1 threshold=6"
2023-07-08 10:38:13.050000 29259 29259 30162 W amlaudioMixer "mixer_get_presentation_position(), port not ready now

Please forward it to Amlogic for investigation.

Thanks,
Jason

(ALTech) Younkwang Jung

2024-04-18 13:10

developer   ~0015486

Hi Jason

BPM-27476 : android.hardware.audio@2.0-service-droidlogic tombstone
This issue has not occurred since BPM-27476 was resolved
FW is v15.541.38

I will close this ticket

Thank you for your support
YK.Jung

Issue History

Date Modified Username Field Change
2023-07-11 12:57 (ALTech) Younkwang Jung New Issue
2023-07-11 12:57 (ALTech) Younkwang Jung Status new => assigned
2023-07-11 12:57 (ALTech) Younkwang Jung Assigned To => (SW) Kerwin Chen
2023-07-11 12:57 (ALTech) Younkwang Jung File Added: BPM-20379.zip
2023-07-11 12:57 (ALTech) Younkwang Jung File Added: pastedImage (1).png
2023-07-11 12:57 (ALTech) Younkwang Jung File Added: pastedImage.png
2023-07-11 12:58 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2023-07-11 12:58 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2023-07-11 13:02 (ALTech) Younkwang Jung Note Added: 0013602
2023-07-11 13:37 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (SW) Jason Ling
2023-07-11 14:00 (SW) Jason Ling Severity s2-severe => s4-minor
2023-07-11 14:06 (SW) Jason Ling Issue Monitored: (SW) Jacky Chiang
2023-07-14 15:33 (SW) Jason Ling Note Added: 0013631
2023-07-14 15:33 (SW) Jason Ling Assigned To (SW) Jason Ling => (ALTech) Younkwang Jung
2024-04-18 13:10 (ALTech) Younkwang Jung Note Added: 0015486
2024-04-18 13:10 (ALTech) Younkwang Jung Status assigned => closed
2024-04-18 13:10 (ALTech) Younkwang Jung Resolution open => fixed